package com.sitech.ibnms.core;

import java.util.Collection;

public interface IPage<T> {

	public abstract int getTotal();

	public abstract int getPageSize();

	public abstract int getPage();

	public abstract void setPage(int page);

	public abstract int getRecords();

	public abstract boolean isFirstPage();

	public abstract boolean isLastPage();

	public abstract int getPageBegin();

	public abstract int getPageEnd();

	public abstract Collection<T> getRows();

	public abstract void setRows(Collection<T> rows);

	public int getLevel();

	public void setLevel(int level);

	public String getParentId();

	public void setParentId(String parentId);
}
